<template>
	<view class="empty-box">
		<image :src="emptyBox"></image>
		<view class="txt">{{title || $t(`暂无记录`)}}</view>
	</view>
</template>

<script>
	import {HTTP_REQUEST_URL} from '@/config/app';
	export default{
		props: {
			title: {
				type: String,
				default: '',
			},
		},
		data(){
			return{
        emptyBox: this.$common.imgUrl() + '/images/empty-box.png',
			}
		}
	}

</script>

<style lang="scss">
	.empty-box{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding-top: 200rpx;
		image{
			width: 414rpx;
			height: 240rpx;
		}
		.txt{
			font-size: 26rpx;
			color: #999;
		}
	}
</style>
